home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 191_01 / soundp.h < prev    next >
Text File  |  1986-05-23  |  2KB  |  49 lines

  1.  
  2. /*  SOUNDP.H                            Last update: 26 Feb 86  */
  3.  
  4. /* ------------------------------------------------------------ */
  5. /*      This is a portion of the SOUND EFFECTS LIBRARY.         */
  6. /*                                                              */
  7. /*      Copyright (C) 1986 by Paul Canniff.                     */
  8. /*      All rights reserved.                                    */
  9. /*                                                              */
  10. /*      This library has been placed into the public domain     */
  11. /*      by the author.  Use is granted for non-commercial       */
  12. /*      pusposes, or as an IMBEDDED PORTION of a commercial     */
  13. /*      product.                                                */
  14. /*                                                              */
  15. /*      Paul Canniff                                            */
  16. /*      PO Box 1056                                             */
  17. /*      Marlton, NJ 08053                                       */
  18. /*                                                              */
  19. /*      CompuServe ID: 73047,3715                               */
  20. /*                                                              */
  21. /* ------------------------------------------------------------ */
  22.  
  23.  
  24. /* ------------------------------------------------------------ */
  25. /*                         ** NOTE **                           */
  26. /*                                                              */
  27. /*      This file contains prototypes for all the accessable    */
  28. /*      sound library functions.  Do not include this file      */
  29. /*      unless your compiler supports prototyping.              */
  30. /* ------------------------------------------------------------ */
  31.  
  32. extern int  play (char *music);
  33. extern int  sound(long freq, unsigned duration);
  34. extern int  sounds(struct sound_element sound_array);
  35. extern int  sound_init (int mode,int install_brk);
  36. extern void sound_done(void);
  37. extern void quiet(void);
  38. extern void sound_bchk(int *used, int *unused);
  39. extern void spkr_on(void);
  40. extern void spkr_off(void);
  41. extern void spkr_freq(long freq);
  42. extern void spkr_cntr(unsigned count);
  43.  
  44. /* ----------------- */
  45. /*  End of SOUNDP.H  */
  46. /* ----------------- */
  47.  
  48.  
  49.